﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SCS.Common.Models;

namespace SCS.DAL
{
    public class Parent2Repository : Repository<Parent>, IParent2Repository
    {
        public Parent2Repository(SCSContext _context)
            : base(_context)
        { }

        /// <summary>
        /// Count Parents
        /// </summary>
        /// <returns>Total number Parents</returns>
        public int GetCount()
        {
            return DBSet.Count();
        }

    }
}